package com.chia.multienty.core.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chia.multienty.core.pojo.KutaBaseEntity;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 微信小程序场景
 * </p>
 *
 * @author Multienty Auto Generator
 * @since 2024-06-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mt_wechat_mpp_scene")
@ApiModel(value="WechatMppScene对象", description="微信小程序场景")
public class WechatMppScene extends KutaBaseEntity {


    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    @TableId(value = "scene_id", type = IdType.INPUT)
    private Long sceneId;

    /**
     * 参数集合
     */
    @ApiModelProperty(value = "参数集合")
    @TableField("`params`")
    private String params;

    /**
     * 租户编号
     */
    @ApiModelProperty(value = "租户编号")
    @TableField("`tenant_id`")
    private Long tenantId;

    /**
     * 元编号
     */
    @ApiModelProperty(value = "元编号")
    @TableField("`meta_id`")
    private Long metaId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "`create_time`", fill = FieldFill.INSERT)
    private LocalDateTime createTime;


}
